package com.yanze.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.persistence.*;
import java.util.Date;

public class Friendcircle {
    @Id
    private Long friendid;

    private String userid;

    private String title;

    private String content;

    private String images;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss a", locale = "zh", timezone = "GMT+8")
    private Date time;

    /**
     * @return friendid
     */
    public Long getFriendid() {
        return friendid;
    }

    /**
     * @param friendid
     */
    public void setFriendid(Long friendid) {
        this.friendid = friendid;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userid;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userid = userId;
    }

    /**
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return images
     */
    public String getImages() {
        return images;
    }

    /**
     * @param images
     */
    public void setImages(String images) {
        this.images = images;
    }

    /**
     * @return time
     */
    public Date getTime() {
        return time;
    }

    /**
     * @param time
     */
    public void setTime(Date time) {
        this.time = time;
    }
}